﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DcsGauges.Shared.Packets
{
    public class HandshakePacket : Packet
    {
        public const string PACKET_NAME                     = "hs";
        
        public enum ClientTypes
        {
            Unknown             = 0,
            DcsGauges           = 1,
            DcsA10              = 2,
            DcsBlackShark       = 3,
        }

        public              ClientTypes     ClientType      { get; protected set; }
        public override     string          PacketName      { get { return PACKET_NAME; }}
        public              string          ClientName      { get; protected set; }

        public HandshakePacket(ClientTypes ct, string clientName) : base(PacketTypes.Handshake)
        {
            this.ClientType             = ct;
            this.ClientName             = clientName;
        }
    }
}
